<template>
  <div class="adv" @click="handleImageClick">
    <img src="http://hj0819.top/img/ad-001.a3bdb208.png" alt="" />
  </div>
</template>

<script lang="ts" setup>
import { showLoadingToast } from 'vant'

const handleImageClick = () => {
    console.log('点击图片');
    
  showLoadingToast({
    message: '模块开发中，敬请期待',
    forbidClick: true,
    loadingType: 'spinner'
  })
}
</script>

<style lang="scss" scoped>
.adv {
  background-color: #fff;
  margin: 10px 20px;
  height: 150px;
  padding: 10px;
}
img {
  width: 100%;
  height: 100%;
}
</style>
